module.exports = (env) => {
  console.log(env);
  return {
    mode: env ? "production" : "development",
    devtool: env ? "none" : "eval-source-map",
  };
};
